{include file='machine/base/header' /}
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>编辑设备</h5>
            </div>
            <div class="ibox-content">
                <form method="post" action="edit_machine.html?asset_id={$machine.asset_id}" class="form-horizontal" id="valid_form">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">设备单价:</label>
                        <div class="col-sm-10">
                            <input type="number" step="0.01" value="{$machine.unit_price}" name="unit_price" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">设备管理人:</label>
                        <div class="col-sm-10">
                            <input type="text" name="manager" value="{$machine.manager}" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">存放位置:</label>
                        <div class="col-sm-10">
                            <input type="text" value="{$machine.depositary}" name="depositary" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态:</label>
                        <div class="col-sm-10">
                            <input type="text" value="{$machine.status}" name="status" class="form-control">
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">备注:</label>
                        <div class="col-sm-10">
                            <textarea type="text" name="comment" class="form-control">{$machine.comment}</textarea>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-2">
                            <button class="btn btn-primary" type="submit">修改</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{include file='machine/base/footer' /}